import axios from "../utils/request";

function Login(query) {
	return axios.get("/login", { params: query });
}

function Register(body) {
	return axios.post("/register", body);
}

export default {
	Login,
	Register,
};
